<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <title>Class MachiningActRunner | HiAPI-C# 2025 </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="Class MachiningActRunner | HiAPI-C# 2025 ">
      
      <meta name="description" content="Represents a runner for machining actions that manages milling steps, tool paths, and collision detection.">
      <link rel="icon" href="../img/HiAPI.favicon.ico">
      <link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
      <meta name="loc:inThisArticle" content="In this article">
      <meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
      <meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
      <meta name="loc:tocFilter" content="Filter by title">
      <meta name="loc:nextArticle" content="Next">
      <meta name="loc:prevArticle" content="Previous">
      <meta name="loc:themeLight" content="Light">
      <meta name="loc:themeDark" content="Dark">
      <meta name="loc:themeAuto" content="Auto">
      <meta name="loc:changeTheme" content="Change theme">
      <meta name="loc:copy" content="Copy">
      <meta name="loc:downloadPdf" content="Download PDF">

      <script type="module" src="./../public/docfx.min.js"></script>

      <script>
        const theme = localStorage.getItem('theme') || 'auto'
        document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
      </script>

  </head>

  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
            
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
              </form>
            </div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc"></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb"></nav>
        </div>

        <article data-uid="Hi.MachiningProcs.MachiningActRunner">



  <h1 id="Hi_MachiningProcs_MachiningActRunner" data-uid="Hi.MachiningProcs.MachiningActRunner" class="text-break">
Class MachiningActRunner  
  </h1>

  <div class="facts text-secondary">
    <dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.MachiningProcs.html">MachiningProcs</a></dd></dl>
  <dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
  </div>

  <div class="markdown summary"><p>Represents a runner for machining actions that manages milling steps, tool paths, and collision detection.</p>
</div>
  <div class="markdown conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MachiningActRunner : IDisposable</code></pre>
  </div>




  <dl class="typelist inheritance">
    <dt>Inheritance</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
      <div><span class="xref">MachiningActRunner</span></div>
    </dd>
  </dl>

  <dl class="typelist implements">
    <dt>Implements</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    </dd>
  </dl>


  <dl class="typelist inheritedMembers">
    <dt>Inherited Members</dt>
    <dd>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
    </div>
  </dd></dl>

  <dl class="typelist extensionMethods">
    <dt>Extension Methods</dt>
    <dd>
  <div>
      <a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
  </div>
  </dd></dl>





  <h2 class="section" id="constructors">Constructors
</h2>


  <a id="Hi_MachiningProcs_MachiningActRunner__ctor_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner__ctor_Hi_MachiningProcs_SessionMessageHost_MongoDB_Driver_MongoClient_MongoDB_Driver_IMongoCollection_Hi_MillingSteps_MillingStepLuggage__MongoDB_Driver_IMongoCollection_Hi_Common_Slice__System_Action_Hi_ScriptApiUtils_ICsScriptApi_Hi_MachiningProcs_MillingActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor(Hi.MachiningProcs.SessionMessageHost,MongoDB.Driver.MongoClient,MongoDB.Driver.IMongoCollection{Hi.MillingSteps.MillingStepLuggage},MongoDB.Driver.IMongoCollection{Hi.Common.Slice},System.Action,Hi.ScriptApiUtils.ICsScriptApi,Hi.MachiningProcs.MillingActRunnerConfig)">
  MachiningActRunner(SessionMessageHost, MongoClient, IMongoCollection&lt;MillingStepLuggage&gt;, IMongoCollection&lt;Slice&gt;, Action, ICsScriptApi, MillingActRunnerConfig)
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningActRunner(SessionMessageHost messageHost, MongoClient mongoClient, IMongoCollection&lt;MillingStepLuggage&gt; millingStepLuggageCollection, IMongoCollection&lt;Slice&gt; substractionSplicDbCollection, Action resetMillingStepLuggageDbAction, ICsScriptApi shellApi, MillingActRunnerConfig config = null)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>messageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
    <dd><p>The milling message host.</p>
</dd>
    <dt><code>mongoClient</code> <span class="xref">MongoClient</span></dt>
    <dd><p>The MongoDB client.</p>
</dd>
    <dt><code>millingStepLuggageCollection</code> <span class="xref">IMongoCollection</span>&lt;<a class="xref" href="Hi.MillingSteps.MillingStepLuggage.html">MillingStepLuggage</a>&gt;</dt>
    <dd><p>The MongoDB collection for milling step luggage.</p>
</dd>
    <dt><code>substractionSplicDbCollection</code> <span class="xref">IMongoCollection</span>&lt;<a class="xref" href="Hi.Common.Slice.html">Slice</a>&gt;</dt>
    <dd><p>The MongoDB collection for subtraction slices.</p>
</dd>
    <dt><code>resetMillingStepLuggageDbAction</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
    <dd><p>Action to reset the milling step luggage database.</p>
</dd>
    <dt><code>shellApi</code> <a class="xref" href="Hi.ScriptApiUtils.ICsScriptApi.html">ICsScriptApi</a></dt>
    <dd><p>The C# script API for the milling session.</p>
</dd>
    <dt><code>config</code> <a class="xref" href="Hi.MachiningProcs.MillingActRunnerConfig.html">MillingActRunnerConfig</a></dt>
    <dd><p>Optional configuration for the milling act runner.</p>
</dd>
  </dl>












  <h2 class="section" id="properties">Properties
</h2>


  <a id="Hi_MachiningProcs_MachiningActRunner_ActStateRunner_" data-uid="Hi.MachiningProcs.MachiningActRunner.ActStateRunner*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_ActStateRunner" data-uid="Hi.MachiningProcs.MachiningActRunner.ActStateRunner">
  ActStateRunner
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the act state runner.
This property is provided as a member value getter and should not be modified.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ActStateRunner ActStateRunner { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.Acts.ActStateRunner.html">ActStateRunner</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_ClStrip_" data-uid="Hi.MachiningProcs.MachiningActRunner.ClStrip*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_ClStrip" data-uid="Hi.MachiningProcs.MachiningActRunner.ClStrip">
  ClStrip
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the cutter location strip.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ClStrip ClStrip { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_EnableCollisionDetection_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableCollisionDetection*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_EnableCollisionDetection" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableCollisionDetection">
  EnableCollisionDetection
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets whether collision detection is enabled.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnableCollisionDetection { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_EnablePhysics_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnablePhysics*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_EnablePhysics" data-uid="Hi.MachiningProcs.MachiningActRunner.EnablePhysics">
  EnablePhysics
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets whether milling force evaluation is enabled.
This is a runtime configuration and is not managed in XML IO.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnablePhysics { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_EnableSweeping_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableSweeping*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_EnableSweeping" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableSweeping">
  EnableSweeping
  
  </h3>

  <div class="markdown level1 summary"><p>Gets whether sweeping is enabled based on the motion resolution type.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnableSweeping { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_EnableWearEffect_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableWearEffect*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_EnableWearEffect" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableWearEffect">
  EnableWearEffect
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets whether to enable coating wear effects.
Note: This function is not fully prepared yet.
Only affects further wear by the wear coefficient of inner material.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnableWearEffect { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_GrpcPostStepAction_" data-uid="Hi.MachiningProcs.MachiningActRunner.GrpcPostStepAction*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_GrpcPostStepAction" data-uid="Hi.MachiningProcs.MachiningActRunner.GrpcPostStepAction">
  GrpcPostStepAction
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the action to be performed after each step for GRPC service.
This is for internal use only.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Action&lt;MachiningStep&gt; GrpcPostStepAction { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Hi.MachiningSteps.MachiningStep.html">MachiningStep</a>&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_MachiningEquipment_" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningEquipment*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningEquipment" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningEquipment">
  MachiningEquipment
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the machining equipment.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningEquipment MachiningEquipment { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_MachiningMotionResolution_" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningMotionResolution*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningMotionResolution" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningMotionResolution">
  MachiningMotionResolution
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the machining motion resolution.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IMachiningMotionResolution MachiningMotionResolution { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.MachiningMotionResolutionUtils.IMachiningMotionResolution.html">IMachiningMotionResolution</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_MachiningToolHouse_" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningToolHouse*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningToolHouse" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningToolHouse">
  MachiningToolHouse
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the machining tool house.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningToolHouse MachiningToolHouse { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_MachiningVolumeRemovalProc_" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningVolumeRemovalProc*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningVolumeRemovalProc" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningVolumeRemovalProc">
  MachiningVolumeRemovalProc
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the machining volume removal processor.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningVolumeRemovalProc MachiningVolumeRemovalProc { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Machining.MachiningVolumeRemovalProc.html">MachiningVolumeRemovalProc</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_MillingActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningActRunner.MillingActRunnerConfig*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_MillingActRunnerConfig" data-uid="Hi.MachiningProcs.MachiningActRunner.MillingActRunnerConfig">
  MillingActRunnerConfig
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the runner configuration.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MillingActRunnerConfig MillingActRunnerConfig { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MillingActRunnerConfig.html">MillingActRunnerConfig</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_SessionMessageHost_" data-uid="Hi.MachiningProcs.MachiningActRunner.SessionMessageHost*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_SessionMessageHost" data-uid="Hi.MachiningProcs.MachiningActRunner.SessionMessageHost">
  SessionMessageHost
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the milling message host.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SessionMessageHost SessionMessageHost { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_StepPreferredCubeWidth_" data-uid="Hi.MachiningProcs.MachiningActRunner.StepPreferredCubeWidth*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_StepPreferredCubeWidth" data-uid="Hi.MachiningProcs.MachiningActRunner.StepPreferredCubeWidth">
  StepPreferredCubeWidth
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the preferred cube width for steps.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double StepPreferredCubeWidth { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningActRunner_XyzabcChain_" data-uid="Hi.MachiningProcs.MachiningActRunner.XyzabcChain*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_XyzabcChain" data-uid="Hi.MachiningProcs.MachiningActRunner.XyzabcChain">
  XyzabcChain
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the XYZABC kinematic chain if the current machining chain supports it; otherwise null.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IXyzabcChain XyzabcChain { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.Xyzabc.IXyzabcChain.html">IXyzabcChain</a></dt>
    <dd></dd>
  </dl>








  <h2 class="section" id="methods">Methods
</h2>


  <a id="Hi_MachiningProcs_MachiningActRunner_AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution_" data-uid="Hi.MachiningProcs.MachiningActRunner.AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution" data-uid="Hi.MachiningProcs.MachiningActRunner.AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution">
  AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution()
  
  </h3>

  <div class="markdown level1 summary"><p>Adjusts the APT cutter STL resolution based on NC resolution and workpiece resolution.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void AdjustAptCutterStlResolutionByNcResolutionAndWorkpieceResolution()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningActRunner_Dispose_" data-uid="Hi.MachiningProcs.MachiningActRunner.Dispose*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_Dispose" data-uid="Hi.MachiningProcs.MachiningActRunner.Dispose">
  Dispose()
  
  </h3>

  <div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningActRunner_Dispose_" data-uid="Hi.MachiningProcs.MachiningActRunner.Dispose*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_Dispose_System_Boolean_" data-uid="Hi.MachiningProcs.MachiningActRunner.Dispose(System.Boolean)">
  Dispose(bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Disposes of the resources used by the <a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>True to release both managed and unmanaged resources; false to release only unmanaged resources.</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningActRunner_ExpandToActMcStep_" data-uid="Hi.MachiningProcs.MachiningActRunner.ExpandToActMcStep*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_ExpandToActMcStep_Hi_Numerical_Acts_IAct_" data-uid="Hi.MachiningProcs.MachiningActRunner.ExpandToActMcStep(Hi.Numerical.Acts.IAct)">
  ExpandToActMcStep(IAct)
  
  </h3>

  <div class="markdown level1 summary"><p>Expands an act into machine control steps.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerable&lt;IAct&gt; ExpandToActMcStep(IAct act)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>act</code> <a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a></dt>
    <dd><p>The act to expand.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a>&gt;</dt>
    <dd><p>A sequence of machine control steps.</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningActRunner_GetMillingActRunner_" data-uid="Hi.MachiningProcs.MachiningActRunner.GetMillingActRunner*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_GetMillingActRunner" data-uid="Hi.MachiningProcs.MachiningActRunner.GetMillingActRunner">
  GetMillingActRunner()
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the current milling act runner instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningActRunner GetMillingActRunner()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a></dt>
    <dd><p>The current milling act runner instance.</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningActRunner_ProcAct_" data-uid="Hi.MachiningProcs.MachiningActRunner.ProcAct*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_ProcAct_Hi_Numerical_Acts_IAct_Hi_MachiningProcs_MachiningSession_Hi_MachiningSteps_IMachiningStepHost_Hi_Common_FileLines_IIndexedFileLine_System_Threading_CancellationToken_" data-uid="Hi.MachiningProcs.MachiningActRunner.ProcAct(Hi.Numerical.Acts.IAct,Hi.MachiningProcs.MachiningSession,Hi.MachiningSteps.IMachiningStepHost,Hi.Common.FileLines.IIndexedFileLine,System.Threading.CancellationToken)">
  ProcAct(IAct, MachiningSession, IMachiningStepHost, IIndexedFileLine, CancellationToken)
  
  </h3>

  <div class="markdown level1 summary"><p>Processes an act with the given parameters.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerable&lt;object&gt; ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, IIndexedFileLine sourceCommand, CancellationToken cancellationToken)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>act</code> <a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a></dt>
    <dd><p>The act to process.</p>
</dd>
    <dt><code>millingSession</code> <a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
    <dd><p>The milling session.</p>
</dd>
    <dt><code>host</code> <a class="xref" href="Hi.MachiningSteps.IMachiningStepHost.html">IMachiningStepHost</a></dt>
    <dd><p>The milling step host.</p>
</dd>
    <dt><code>sourceCommand</code> <a class="xref" href="Hi.Common.FileLines.IIndexedFileLine.html">IIndexedFileLine</a></dt>
    <dd><p>The source command.</p>
</dd>
    <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
    <dd><p>The cancellation token.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
    <dd><p>A sequence of processed objects.</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningActRunner_ResetMillingStepLuggageDb_" data-uid="Hi.MachiningProcs.MachiningActRunner.ResetMillingStepLuggageDb*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_ResetMillingStepLuggageDb" data-uid="Hi.MachiningProcs.MachiningActRunner.ResetMillingStepLuggageDb">
  ResetMillingStepLuggageDb()
  
  </h3>

  <div class="markdown level1 summary"><p>Resets the milling step luggage database.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ResetMillingStepLuggageDb()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningActRunner_ResetStateAndClStrip_" data-uid="Hi.MachiningProcs.MachiningActRunner.ResetStateAndClStrip*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_ResetStateAndClStrip" data-uid="Hi.MachiningProcs.MachiningActRunner.ResetStateAndClStrip">
  ResetStateAndClStrip()
  
  </h3>

  <div class="markdown level1 summary"><p>Resets the state and cutter location strip.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ResetStateAndClStrip()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningActRunner_WaitAll_" data-uid="Hi.MachiningProcs.MachiningActRunner.WaitAll*"></a>

  <h3 id="Hi_MachiningProcs_MachiningActRunner_WaitAll" data-uid="Hi.MachiningProcs.MachiningActRunner.WaitAll">
  WaitAll()
  
  </h3>

  <div class="markdown level1 summary"><p>Waits for all pending operations to complete.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void WaitAll()</code></pre>
  </div>













  <h2 class="section" id="events">Events
</h2>



  <h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningStepBuilt" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningStepBuilt">
  MachiningStepBuilt
  
  </h3>

  <div class="markdown level1 summary"><p>event to configure steps.
The first parameter is the previous step; the second parameter is the current step.
The previous step is null if no previous step exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event MachiningActRunner.MachiningStepBuiltDelegate MachiningStepBuilt</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a>.<a class="xref" href="Hi.MachiningProcs.MachiningActRunner.MachiningStepBuiltDelegate.html">MachiningStepBuiltDelegate</a></dt>
    <dd></dd>
  </dl>








  <h3 id="Hi_MachiningProcs_MachiningActRunner_UiPostStepAction" data-uid="Hi.MachiningProcs.MachiningActRunner.UiPostStepAction">
  UiPostStepAction
  
  </h3>

  <div class="markdown level1 summary"><p>Event raised after each step for UI updates.
This is for internal use only.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action&lt;MachiningStep&gt; UiPostStepAction</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Hi.MachiningSteps.MachiningStep.html">MachiningStep</a>&gt;</dt>
    <dd></dd>
  </dl>








</article>

        <div class="contribution d-print-none">
        </div>


      </div>

      <div class="affix">
        <nav id="affix"></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top text-secondary">
      <div class="container-xxl">
        <div class="flex-fill">
          <span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
        </div>
      </div>
    </footer>
  </body>
</html>
